Repository navigation
test(provider): local-limit tests wait up to 30 s of real time for an asynchronous step - #2616
Merged
Merged
Conversation
… asynchronous step PrefillTestClock.eventually allowed 2 s. In the SDK 27 qualification lane the CI watchdog samples every test process at 900 s, which paused LocalHeadHoldTests.anOwnersRequestTheEngineCouldntAdmitIsSubmittedAgain while its one-second owner retry was due, so the re-submit arrived after the bound and the test failed although the request was then served. A true condition still returns at once; only a condition that never holds waits longer. No eventually call in the suite expects false. Test-only.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 of 8 tasks
5 of 6 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PrefillTestClock.eventuallywaited at most 2 s of real time. In the SDK 27 qualification lane, the CI watchdog samples every test process for about a second each once the suite has run 900 s (scripts/run-provider-test-watchdog.py). That pausedLocalHeadHoldTests.anOwnersRequestTheEngineCouldntAdmitIsSubmittedAgainwhile its one-second owner retry was due. The re-submit arrived after the 2 s bound and the test failed, although the owner's request was then served.The bound is now 30 s. A condition that holds still returns at once; only a condition that never holds waits longer. No
eventuallycall in the suite expects false, so no assertion changes meaning. The case still checks that submission #3 happens and that the owner's request is served with its answer.d118ef3235PrefillTestClock.eventually: 2 s → 30 s, with a doc comment naming the causeLinked issue
None.
Test plan
Components touched